package com.yy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author young
 * @date 2022/12/17 21:38
 * @description:
 */
@SpringBootApplication
//该注解用于向使用consul或者zookeeper作为注册中心时注册服务
@EnableDiscoveryClient
public class ZookeeperAplication {
    public static void main(String[] args) {
        SpringApplication.run(ZookeeperAplication.class,args);
    }
}
